package com.iwhalecloud.citybrain.flow.platform.manager.application.common.context;

import com.fasterxml.jackson.databind.JsonNode;
import lombok.Builder;
import lombok.Data;
import org.flowable.bpmn.model.Activity;

/**
 * @author lilh
 * @date 2020/11/16 16:26
 */
@Data
@Builder
public class FlowElementProcessContext {

    /**
     * 此次流程部署的id
     */
    private String deployId;

    /**
     * 节点的code
     */
    private String nodeCode;

    /**
     * 节点，最原始的json数据
     */
    private JsonNode elementNode;

    /**
     * 整个模型节点
     */
    private JsonNode modelNode;

    /**
     * 通过jsonNode构建后的Activity
     */
    private Activity activity;
}
